package com.fs.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

/**
 * @author python_boy
 * @fileName StoTo
 * @date 2024/10/22 16:00
 * @description
 **/
@Data
@TableName("sto")
public class StoTo {
    @TableId(type = IdType.AUTO)
    private Integer stoProId;  // 订单编号
    private Integer stoSupId;  // 供应商编号
    private String stoPay;     //支付类型
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date stoDate;  //进货时间
    private Integer stoActor;  //操作者编号
    private String stoNote;   //备注
    private Integer appMangerId;  //审批人编号
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date appPassDate;  //审批时间
    private Integer stoState;  //订单状态
    @TableField(exist = false)
    private OrderDetail orderDetail;  //销售明细
}
